<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class DQ_Controller extends CI_Controller 
{

    public function __construct()
    {
        parent::__construct();

        if(checkIE())
        {
            redirect(site_url('ie'), 'location');
            exit;
        }
    }

    protected function packData($data)
    {
        echo json_encode($data);
        exit;
    }

}
